html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-weight: 300 !important;
  -webkit-user-select: none; /* 禁止选中文本（如无文本选中需求，此为必选项） */
  user-select: none;
  margin: 0;
  padding: 0;
  color: #333;
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
}

button, h1, h2, h3, h4, h5, h6, input {
  font-weight: 300 !important;
}

a, img {
  -webkit-touch-callout: none; /* 禁止长按链接与图片弹出菜单 */
}

a {
  text-decoration: none;
  &:hover, &:active, &:focus {
    text-decoration: none;
  }
}

img {
  vertical-align: middle;
  border: 0;
  width: 100%;
  height: auto;
}

/**
* vue-router transition
*/

.vux-pop-out-enter-active,
.vux-pop-out-leave-active,
.vux-pop-in-enter-active,
.vux-pop-in-leave-active {
  will-change: transform;
  transition: all 500ms;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  perspective: 1000;
}

.vux-pop-out-enter {
  opacity: 0;
  transform: translate3d(-100%, 0, 0);
}

.vux-pop-out-leave-active {
  opacity: 0;
  transform: translate3d(100%, 0, 0);
}

.vux-pop-in-enter {
  opacity: 0;
  transform: translate3d(100%, 0, 0);
}

.vux-pop-in-leave-active {
  opacity: 0;
  transform: translate3d(-100%, 0, 0);
}

/**
* clearfix hack
*/

.clearfix {
  &.span {
    height: 8px;
    background-color: #eee
  }
  &:before,
  &:after {
    content: " ";
    display: table;
  }
  &:after {
    clear: both;
  }
}

.weui-mask.transparent {
  background-color: transparent;
}

.weui-loading_pre1 {
  background: transparent url() no-repeat;
}

.weui-loading_pre2 {
  background: transparent url() no-repeat;
}

::-webkit-input-placeholder { /* WebKit browsers */
  font-size: 14px;
}

:-moz-placeholder {
  font-size: 14px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0;
}

.padding-bottom {
  padding-bottom: 55px;
}
